package com.frank.demo.log;

import org.apache.log4j.BasicConfigurator;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by zhy on 2018/4/18.
 */
public class Log4j2 {

    public static void main(String[] args) {
        Logger logger = LoggerFactory.getLogger(Log4j2.class);
        System.out.println(logger.getClass());

        logger.info("tes");
        logger.info("tes2");
    }
}
